package br.eng.eliseu.gwt.aconchego.camera.shared;

import java.util.Iterator;

import com.google.gwt.user.client.ui.ComplexPanel;
import com.google.gwt.user.client.ui.Widget;

public class PanelUtil {
	
	public static void setVisibleAll(ComplexPanel panel, Boolean visivel){
		Iterator<Widget> it = panel.iterator();
		while (it.hasNext()) {
			Widget childWidget = it.next();
			childWidget.setVisible(visivel);
		}
	}

}
